From: Guido Günther Date: Sun, 4 Jan 2026 12:07:26 +0000 (+0100) Subject: mixer-stream: Allow ports to not exist X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2^2^2^2^2~13 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=618eeab4ba441f1d6b9aa6783a8bc8b83482f533;p=gnome-shell.git mixer-stream: Allow ports to not exist With pipewire 1.5.84 the port list might change underneath us, see https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/5053 We thus can't assume anymore that we find a given port. Signed-off-by: Guido Günther Origin: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31 Bug: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/34 Bug-Debian: https://bugs.debian.org/1126514 Applied-upstream: gnome-shell 50, commit:798230599950607ec285daecd070f5bcb28580e4 Gbp-Pq: Topic libgvc Gbp-Pq: Name mixer-stream-Allow-ports-to-not-exist.patch --- diff --git a/subprojects/gvc/gvc-mixer-stream.c b/subprojects/gvc/gvc-mixer-stream.c index f9bcc40a2..038281772 100644 --- a/subprojects/gvc/gvc-mixer-stream.c +++ b/subprojects/gvc/gvc-mixer-stream.c @@ -532,8 +532,6 @@ gvc_mixer_stream_get_port (GvcMixerStream *stream) } } - g_assert_not_reached (); - return NULL; }